<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:sec="http://www.springframework.org/security/facelets/tags">

<ui:composition>
	<sec:ifAnyGranted roles="ROLE_PRODUTOR,ROLE_CLIENTE,ROLE_ADMINISTRADOR">
		<h:form id="menu">
			<table width="100%">
				<tr>


					<td align="left"><h:commandLink value="HOME"
							action="/publico/home.xhtml" /> <sec:ifAnyGranted
							roles="ROLE_PRODUTOR">
							<h:outputText value="&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;" />
							<h:commandLink value="GERENCIAR EVENTO"
								action="/produtor/manterEvento.xhtml" />
						</sec:ifAnyGranted> <sec:ifAnyGranted roles="ROLE_ADMINISTRADOR">
							<h:outputText value="&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;" />
							<h:commandLink value="AREA DO ADMINISTRADOR" action="null" />></sec:ifAnyGranted></td>



					<td align="right"><sec:ifAnyGranted
							roles="ROLE_PRODUTOR,ROLE_CLIENTE,ROLE_ADMINISTRADOR">
							<h:outputLink value="javascript:void(0)"
								onclick="document.location='#{request.contextPath}/j_spring_security_logout'"
								title="Sair">
								<h:graphicImage library="imagens" name="logout16.png" />
							</h:outputLink>
						</sec:ifAnyGranted></td>

				</tr>
			</table>
		</h:form>
	</sec:ifAnyGranted>
</ui:composition>
</html>